<?php

namespace app\api\model;

use think\Model;

/**
 * 购物车模型
 */
class ShoppingCart extends Model
{

    // 表名
    protected $name = 'shopping_cart';
    protected $autoWriteTimestamp = 'datetime';
    protected $updateTime = false;


    // 字段类型或者格式转换
    protected $type = [
        'create_time' => 'datetime:Y-m-d H:i:s',
    ];

    
}
